<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">



							<div class="form-group">
								<label class="col-sm-3 control-label">书籍种类：</label>
								<div class="col-sm-8">

									<select id="bookId" name="bookId" placeholder="请选择对应书籍种类" class="form-control">
										<option value="">请选择</option>
										<option th:each="item : ${list2}"  th:value="${item.name}" th:text="${item.name}"></option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">基础数量：</label>
								<div class="col-sm-8">
									<input id="orderNumber" name="orderNumber" placeholder="请输入订单基础知识数量" class="form-control" type="text">

								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">基础折扣：</label>
								<div class="col-sm-8">
									<input id="discount" name="discount" placeholder="(基础知识)输入10为书籍原价，1为1折，以此类推" class="form-control" type="text">

								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">初级数量：</label>
								<div class="col-sm-8">
									<input id="orderPrimary" name="orderPrimary" placeholder="请输入订单初级数量" class="form-control" type="text">

								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">初级折扣：</label>
								<div class="col-sm-8">
									<input id="discountPrimary" name="discountPrimary" placeholder="(初级)输入10为书籍原价，1为1折，以此类推" class="form-control" type="text">

								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">中级数量：</label>
								<div class="col-sm-8">
									<input id="orderIntermediate" name="orderIntermediate" placeholder="请输入订单中级数量" class="form-control" type="text">

								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">中级折扣：</label>
								<div class="col-sm-8">
									<input id="discountIntermediate" name="discountIntermediate" placeholder="(中级)输入10为书籍原价，1为1折，以此类推" class="form-control" type="text">

								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">高级数量：</label>
								<div class="col-sm-8">
									<input id="orderSenior" name="orderSenior" placeholder="请输入订单高级数量" class="form-control" type="text">

								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">高级折扣：</label>
								<div class="col-sm-8">
									<input id="discountSenior" name="discountSenior" placeholder="(高级)输入10为书籍原价，1为1折，以此类推" class="form-control" type="text">
								</div>
							</div>


							<div class="form-group">
								<label class="col-sm-3 control-label">是否包邮：</label>
								<div class="col-sm-8">
										<select name="post" id="post" class="form-control">
											<option value="0"> 包邮</option>
											<option value="1"> 不包邮</option>
										</select>
								</div>
							</div>
<!--							<div class="form-group">-->
<!--								<label class="col-sm-3 control-label">年份：</label>-->
<!--								<div class="col-sm-8">-->
<!--									<input id="year" name="year" placeholder="请输入年份" class="form-control" type="text">-->
<!--								</div>-->
<!--							</div>-->

							<div class="form-group">
								<label class="col-sm-3 control-label">订单开始实时间：</label>
								<div class="col-sm-8">
									<input id="orderCreatetime" name="orderCreatetime" class="form-control" type="text"
										   onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" placeholder="请输入结束时间">
								</div>
							</div>

							<div class="div_3" id="adre">

														                                                                <div class="form-group">
								<label class="col-sm-3 control-label">所属省份：</label>
								<div class="col-sm-8">
									<select id="province" name="province" placeholder="province" class="form-control" type="text"></select>
																			
								</div>
							</div>
								<div class="form-group">
									<label class="col-sm-3 control-label">所属市：</label>
									<div class="col-sm-8">
										<select id="city" name="city" placeholder="city" class="form-control" type="text"></select>

									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label">所属县：</label>
									<div class="col-sm-8">
										<select id="district" name="district" placeholder="county" class="form-control" type="text"></select>

									</div>
								</div>
							</div>

							<div>
								<label class="col-sm-3 control-label">详细地址：</label>
								<div class="col-sm-8">
																			                                            <input id="address" name="address" placeholder="请输入详细地址" class="form-control" type="text">
																			
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">学校名称：</label>
<!--								<div class="col-sm-8">-->
<!--									<input id="school" name="school" placeholder="输入单位名称或学校名称" class="form-control" type="text">-->

<!--								</div>-->
								<div class="col-sm-8">
									<input id="school" name="school" type="text" class="form-control" placeholder="输入学校查询">
								</div>
							</div>


														                                                                <div class="form-group">	
								<label class="col-sm-3 control-label">收件人：</label>
								<div class="col-sm-8">
																			                                            <input id="addressee" name="addressee" placeholder="请输入收件人姓名" class="form-control" type="text">
																			
								</div>
							</div>
														                                                                <div class="form-group">	
								<label class="col-sm-3 control-label">收件人电话：</label>
								<div class="col-sm-8">
																			                                            <input id="mobile" name="mobile" placeholder="收件人联系方式" class="form-control" type="text">
																			
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label" style="color: red">开票信息填写</label>

							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">发票类型：</label>
								<div class="col-sm-8">
									<select name="invoiceType" id="invoiceType" class="form-control">
										<option value="纸质发票"> 纸质发票</option>
										<option value="电子发票"> 电子发票</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">发票邮寄地址：</label>
								<div class="col-sm-8">
									<input id="invoiceAddress" name="invoiceAddress" placeholder="发票邮寄地址填写（纸质类型填写）"  class="form-control" type="text">

								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">开票名称：</label>
								<div class="col-sm-8">
									<input id="billingName" name="billingName" placeholder="请输入开票名称"  class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">纳税识别号：</label>
								<div class="col-sm-8">
									<input id="billingNumber" name="billingNumber" placeholder="请输入纳税识别号"  class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">开票地址：</label>
								<div class="col-sm-8">
									<input id="billingAddress" name="billingAddress" placeholder="请输入开票地址"  class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">开户行账户：</label>
								<div class="col-sm-8">
									<input id="billingAccountNumber" name="billingAccountNumber" placeholder="请输入开户行账户"  class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">开户行邮箱：</label>
								<div class="col-sm-8">
									<input id="billingMailbox" name="billingMailbox" placeholder="请输入开户行邮箱" class="form-control" type="text">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">结算单：</label>
								<div class="col-sm-8">
									<button type="button" class="btn btn-primary" id="btnUploadOrder">
										<i class="fa fa-cloud"></i>上传结算单
									</button>
									<input type="text" style="opacity:0;width: 1px;" id="exlUrl" name="exlUrl"/>
									<span id="test"></span>
								</div>
							</div>
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script src="/js/jquery.citys.js"></script>
	<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="/js/webJs/jzweb/bookOrder/add2020.js">
	</script>
	<script>
		$(function () {
			//获取用户信息
			//省市区联动
			$('#adre').citys({
				province: $("#province").val(),
				city: $("#city").val(),
				district: $("#district").val(),
				onChange: function (info) {
				}
			});
		});
	</script>
</body>
</html>
